This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Attachement question ~Umberto Nongeroson 19.Jan.04 02:16 AM a Web browser Domino Designer 6.0.1All Platforms
You have to create the attachment using the front end Notes client methods. If you use NotesRichTextItem.EmbedObject, the update to the rich text field is not reflected in the UI. When they save, the rich text is saved as it's shown on the screen. So the attachment still exists in the document, but the little flag in the rich text that says "file such and such is attached here" doesn't get saved.
There are some tricky ways around this, one of which involves setting the SaveOptions field to "0" and attempting to save. This has been discussed in this forum or the Notes 4/5 forum. But in this case is would be easier to just use the @Command([EditInsertFileAttachment]; ...) to create your attachment in the front-end.